# CMake 最低版本要求
cmake_minimum_required(VERSION 3.10)
 
# 工程名
project(DrmTest)
 
# 设置 C++ 11 支持
set(CMAKE_CXX_STANDARD 11)
 
# 将指定目录添加到编译器的头文件搜索路径之下，指定的目录被解释成当前源码路径的相对路径
include_directories(${PROJECT_SOURCE_DIR}/includes)
include_directories(${PROJECT_SOURCE_DIR}/includes/libdrm)
include_directories(${PROJECT_SOURCE_DIR}/includes/libdrm/libdrm)
# include_directories(${PROJECT_SOURCE_DIR}/includes/libdrm/include/libdrm)
 
# 添加模块路径
add_subdirectory(sources)
